#comment_form.box

  - if comment.errors.present?
    %ul.errors
      - comment.errors.full_messages.each do |msg|
        %li= msg

  = form_tag comments_path, :remote => true do
    = hidden_field_tag :document_id, document.id
    = cktext_area_tag('comment[body]', comment.body, :toolbar => 'Easy')
    = submit_tag t('comments.add_new_comment'), :class => "btn primary show-loader"
    = ajax_loader